--#ifndef _SYSTEM_HANDLER_DISPATCHER_INCLIDED_ 
--#define _SYSTEM_HANDLER_DISPATCHER_INCLIDED_

--#include "SystemHandlerDispatcherImplement.lua" 

--#include "ShortCut\ShortCutSystem.lua" once                                          
--#include "NPCTrade\NPCTradeSystem.lua" once
--#include "NPCRepair\NpcRepairSystem.lua" once    
 
--#include "data\functions\welfare\TimeRewardSystem.lua" once                      --在线奖励系统
--#include "data\functions\welfare\WeekTimeBindGoldRewardSystem.lua" once          --周在线奖励
--#include "data\functions\welfare\InvestPlan.lua" once          --投资计划
--#include "data\functions\welfare\OfflineExpCopy.lua"  once      --离线副本
--#include "data\functions\welfare\UpgradeGift.lua"  once       --成长好礼
--#include "data\functions\welfare\LevelUpWelfare.lua"  once       --等级福利
--#include "Miscs\MiscSystems.lua" once   
---#include "Archive\ArchiveSystem.lua" once
----#include "Archive\LuckyRollAwardHandler.lua" once
--#include "FightSystem\autoFightSystem.lua" once  
  --#include "DeputyEventFunc.lua" once
  --#include "ShortcutsEventFunc.lua" once
	--#include "TimeReward\TimeMoneyRewardSystem.lua" once

--#include "CrossServerSystem\SystemHandler.lua" once
--#include "ActivitySystem\ActivityHandle.lua" once


--[[
    将默认的系统消息处理分派插入到通知表中 
]]

EventCallDispatcher.registerEventCall(BaseTypes.ActorEventId.aeOnClientData, SystemHandlerDispatcher.dispatcher)


SystemHandlerDispatcher.registerSystemHander(BaseTypes.SystemId.timeRewardSystem, OfflineExpCopyMessageHandle)

EventCallDispatcher.registerEventCall(BaseTypes.ActorEventId.aeUserLogin, OfflineExpLoginHandler)
EventCallDispatcher.registerEventCall(BaseTypes.ActorEventId.aeUserLogout, OfflineExpLogoutHandler)


SystemHandlerDispatcher.registerSystemHander(BaseTypes.SystemId.timeRewardSystem, UpgradeGiftMessageHandle)

SystemHandlerDispatcher.registerSystemHander(BaseTypes.SystemId.timeRewardSystem, InvestPlanMessageHandle)

SystemHandlerDispatcher.registerSystemHander(BaseTypes.SystemId.timeRewardSystem, LevelUpWelfareMessageHandle)

--#endif //end of _SYSTEM_HANDLER_DISPATCHER_INCLIDED_